﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace MODEL.ViewModel
{
     public class Teacher
    {
        [DisplayName("ID")]
        public int Id { get; set; }
        [DisplayName("登录名")]
        [Required]
        public string LoginName { get; set; }
        [DisplayName("密码")]
        [Required]
        public string Password { get; set; }
        [DisplayName("所在单位")]
        public int Department { get; set; }
        [DisplayName("办公地点")]
        public string WorkPlace { get; set; }
        [DisplayName("办公电话")]
        public string WorkPhone { get; set; }
        [DisplayName("负责老师")]
        public string TeacherName { get; set; }
        [DisplayName("老师电话")]
        public string TeacherPhone { get; set; }

    }
}
